home *** CD-ROM | disk | FTP | other *** search
/ CD/PC Actual 76 / DVD Actual 1 Marzo 2003.iso / Trial / TurboCAD 7.1 Pro / Data.Cab / F24901_RectPage.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  2000-11-10  |  1.7 KB  |  57 lines

  1. /******************************************************************/
  2. /*                                                                */
  3. /*                      TurboCAD for Windows                      */
  4. /*                   Copyright (c) 1993 - 1999                    */
  5. /*             International Microcomputer Software, Inc.         */
  6. /*                            (IMSI)                              */
  7. /*                      All rights reserved.                      */
  8. /*                                                                */
  9. /******************************************************************/
  10. // RectPage.cpp : implementation file
  11. //
  12.  
  13. #include "stdafx.h"
  14. #include "resource.h"
  15. #include "RectPage.h"
  16.  
  17. #ifdef _DEBUG
  18. #define new DEBUG_NEW
  19. #undef THIS_FILE
  20. static char THIS_FILE[] = __FILE__;
  21. #endif
  22.  
  23. /////////////////////////////////////////////////////////////////////////////
  24. // CRectPage dialog
  25.  
  26.  
  27. CRectPage::CRectPage(CWnd* pParent /*=NULL*/)
  28.     : CDialog(CRectPage::IDD, pParent)
  29. {
  30.     m_roundness = 0.0;
  31.     //{{AFX_DATA_INIT(CRectPage)
  32.         // NOTE: the ClassWizard will add member initialization here
  33.     //}}AFX_DATA_INIT
  34. }
  35.  
  36.  
  37. void CRectPage::DoDataExchange(CDataExchange* pDX)
  38. {
  39.     CDialog::DoDataExchange(pDX);
  40.     //{{AFX_DATA_MAP(CRectPage)
  41.         // NOTE: the ClassWizard will add DDX and DDV calls here
  42.     //}}AFX_DATA_MAP
  43.     DDX_Text(pDX, IDC_ROUNDNESS, m_roundness);
  44.     DDV_MinMaxDouble(pDX, m_roundness, 0., 100.);
  45.  
  46. }
  47.  
  48.  
  49. BEGIN_MESSAGE_MAP(CRectPage, CDialog)
  50.     //{{AFX_MSG_MAP(CRectPage)
  51.         // NOTE: the ClassWizard will add message map macros here
  52.     //}}AFX_MSG_MAP
  53. END_MESSAGE_MAP()
  54.  
  55. /////////////////////////////////////////////////////////////////////////////
  56. // CRectPage message handlers
  57.